package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.Date;

@Data
@TableName("suppliers")
@Builder
public class Supplier {
    private Integer id;
    private Date deletedAt;
    private String name;
    private String code;
    private String phone;
    private String email;
    private String address;
    private String principal;

    private Integer equipTypeId;
    @TableField(exist = false)
    private Common equipType;

    @Tolerate
    Supplier() {
    }
}
